package com.example.tass.domain;

import cn.tass.exceptions.TAException;

public class MyGetCertInfoRequest extends MyBaseRequest{
    private String cert;
    private int infoType;

    public MyGetCertInfoRequest() {
    }

    public String getCert() {
        return this.cert;
    }

    public void setCert(String cert) {
        this.cert = cert;
    }

    public int getInfoType() {
        return this.infoType;
    }

    public void setInfoType(int infoType) {
        this.infoType = infoType;
    }

    public void validate() throws TAException {
        this.checkParamIsEmpty(this.cert, "cert");
    }
}
